package com.seqb.manage.role.service;

import com.seqb.common.ResultVo;
import com.seqb.manage.role.domain.RoleDO;
import com.github.pagehelper.Page;

import java.util.List;
import java.util.Map;

/**
 * @author lilinshen
 * @title 请填写标题
 * @description 请填写相关描述
 * @date 2019/11/14
 */
public interface RoleService {
	
	RoleDO get(Long id);

	Page<RoleDO> list(Map<String, Object> map);

	int count(Map<String, Object> map);
	
	ResultVo save(RoleDO role);

	ResultVo update(RoleDO role);
	
	int remove(Long id);
	
	int batchRemove(Long[] ids);

	List<RoleDO> listUserRole(Long id);
}
